package lpg;

class VariableSymbol extends Symbol
{
    VariableSymbol(String name, int poolIndex)
    {
        super(name, poolIndex);
    }

    int symbolIndex()
    {
        return symbolIndex;
    }

    void setSymbolIndex(int index)
    {
        symbolIndex = index;
    }

    int nameIndex()
    {
        return nameIndex;
    }

    void setNameIndex(int index)
    {
        nameIndex = index;
    }

    private int symbolIndex = 0;
    private int nameIndex = Util.OMEGA;

}
